#include "StdAfx.h"
#include <Windows.h>
#include <stdio.h>
#include <stdarg.h>
#include <crtdbg.h>
#include "RPG.h"

int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR cmdLine, int cmdShow)
{
	#if defined(DEBUG) | defined(_DEBUG)
		_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
	#endif

	//#define LEAK_LINE 59
	//_CrtSetBreakAlloc(LEAK_LINE);
	
		RPG game(hInst);
	game.Run();

	return TRUE;
}
